package com.shuyun.pipeline.valve;

/**
 * @description:
 * @author: shuai.chen@shuyun.com
 * @date: 2021/8/16 2:43 下午
 */
public abstract class BaseValve implements Valve {

    /**
     * 下一个阀门
     */
    protected Valve next = null;

    @Override
    public void setNext(Valve valve) {
        this.next = valve;
    }

    @Override
    public Valve getNext() {
        return next;
    }
}

